package com.itheima.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.entity.Employee;
import org.springframework.transaction.annotation.Transactional;

/**
 * 员工业务层接口
 */
@Transactional
public interface EmployeeService {

   Employee login(Employee employee);

   Integer addEmployee(Employee employee);

   IPage<Employee> getEmployee(Integer page, Integer pageSize,String name);

   Integer updateEmployeeStatus(Employee employee);

   Employee getByIdEmployee(Integer id);

}
